namespace CloundUploader.Framework.Upload
{
  public   class AutoUploadsParametersSettingProxy:IAutoUploadsParameters

    {
       public int MaxJob
        {
            get
            {
                return UploaderContext.Instance.User.UploadSetting.MaxJob;
            }
        }

 

        public bool AutoStart
        {
            get
            {
                return UploaderContext.Instance.User.UploadSetting.AutoStart;
            }
           }
        //AutoShutUp

      public bool AutoShutUp
      {
          get
          {
              return UploaderContext.Instance.User.UploadSetting.AutoShutUp;
          }
          
      }
        #region IExtensionParameters Members

        public event System.ComponentModel.PropertyChangedEventHandler ParameterChanged;

        #endregion

        #region Methods

        protected void OnParameterChanged(string propertyname)
        {
            if (ParameterChanged != null)
            {
                ParameterChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyname));
            }
        }

        void Default_PropertyChanged(object sender, System.ComponentModel.PropertyChangedEventArgs e)
        {
            OnParameterChanged(e.PropertyName);
        }

        #endregion

        public AutoUploadsParametersSettingProxy()
        {
            
        }
    }
}
